package com.music.checkpoints.common.enums;


import lombok.Getter;

@Getter
public enum ErrorCodeEnum {
    E0("成功"),
    E001("准考证号错误"),
    E002("考试未开始"),
    E003("考试已结束"),
    E004("已经提交过成绩"),
    E005("没有您的信息"),
    E006("找不到考生信息"),
    E007("找不到音频记录");

    private String description;

    public String code() {
        return this.name().replaceAll("E", "");
    }

    ErrorCodeEnum(String description) {
        this.description = description;
    }
}